// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from "@/utils/request.js";
/**
 * 
 * 所有活动接口 包括：拼团，砍价，秒杀
 * 
 */

/**
 * 拼团列表
 * 
 */
export function getCombinationList(data) {
	return request.get('combination/list', data, {
		noAuth: true
	},1);
}

export function postCombinationRemove(data) {
	return request.post("combination/remove", data);
}

/**
 * 提交代理商表单信息
 */
export function getGoodsDetails(data) {
	return request.post("join/sel_join",data, {
		noAuth: true
	},1);
}
/*
 * 提现明细（types|0=佣金,1=收益）
 * */
export function getCommissionInfo_new(data) {
	return request.post("join/sel_sum_number_info",data, {
		noAuth: true
	},1);
}
/**
 * 编辑代理商表单信息
 */
export function edit_join(data) {
	return request.post("join/edit_join",data, {
		noAuth: true
	},1);
}

/**
 * 获取代理商表单信息
 */
export function create(data) {
	return request.post("join/index",data, {
		noAuth: true
	},1);
}

